package persistence;

import domain.LineItem;
import domain.Order;

import java.util.List;

public interface OrderDao {

    List<Order> getOrdersByUserId(String userid);

    Order getOrderByOrderId(int orderId);

    void insertOrder(Order order);

    void insertOrderStatus(Order order);

    void setNotRepeatOrderId(Order order);

    void insertOrderItem(Order order);

    List<LineItem> getLineItemByOrderId(int orderId);
}
